﻿@model RedSand.Site.Models.UserInfo
@{
    ViewBag.Title = "Profile";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
    Layout = Request.IsAjaxRequest() ? null : Layout;
}
<div id="info-wrap" style="display:none">
</div>
<div id="list-wrap">
    <div class="panel">
        <div class="panel-header">
            <span>Profile</span></div>
        <div class="panel-content">
            <div style="width:400px">
                <div class="form-cell none-float">
                    @Html.TranslateFor(model => model.Username, "Account")
                    <span class="mimic-input disabled">@Html.DisplayFor(model => model.Username)</span>
                </div>
                <div class="form-cell none-float">
                    @Html.TranslateFor(model => model.Fullname, "Account")
                    <span class="mimic-input disabled">@Html.DisplayFor(model => model.Fullname)</span>
                </div>
                <div class="form-cell none-float">
                    @Html.TranslateFor(model => model.Email, "Account")
                    <span class="mimic-input disabled">@Html.DisplayFor(model => model.Email)</span>
                </div>
                <div class="form-cell none-float">
                    @Html.TranslateFor(model => model.JoinDate, "Account")
                    <span class="mimic-input disabled">@Html.DisplayFor(model => model.JoinDate)</span>
                </div>
            </div>
            <div class="panel-button-row">
                @Ajax.ActionLink("Sửa thông tin", "ChangeProfile", null, AdminAjaxOptions.GetForm, new { @class = "button" })
                @Ajax.ActionLink("Đổi mật khẩu", "ChangePassword", null, AdminAjaxOptions.GetForm, new { @class = "button" })
            </div>
        </div>
        
    </div>
</div>
